package com.pmcc.yn.entity;

import com.pmcc.core.entity.UUIDEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author shengxiaojing 1月11号
 * 技师基本信息表
 */
@Entity
@Table(name = "js_technician")
@ApiModel(value = "技师的基础信息" ,description = "技师的基础信息")
public class TechnicianInfo extends UUIDEntity{

    @Column(name = "name")
    @ApiModelProperty(value = "name", required = true)
    private String name;//技师姓名

    @Column(name = "imageurl")
    @ApiModelProperty(value = "imageurl", required = true)
    private String imageurl;//头像照片

    @Column(name = "sum_money")
    @ApiModelProperty(value = "sum_money", required = true)
    private Double sumMoney;//累计赏金

    @Column(name = "number" ,length =20)
    @ApiModelProperty(value = "number", required = true)
    private String number;// 身份证号

    @Column(name = "provence")
    @ApiModelProperty(value = "provence", required = true)
    private String provence;//所在省

    @Column(name = "city")
    @ApiModelProperty(value = "city", required = true)
    private String city;//所在市

    @Column(name = "area")
    @ApiModelProperty(value = "area", required = true)
    private String area;//所在区

    @Column(name = "phone")
    @ApiModelProperty(value = "phone", required = true)
    private String phone;// 电话

    @Column(name = "age")
    @ApiModelProperty(value = "age", required = true)
    private String age;//年龄

    @Column(name = "sex")
    @ApiModelProperty(value = "sex", required = true)
    private String sex;//性别

    @Column(name = "level")
    @ApiModelProperty(value = "level", required = true)
    private Integer level;//技师等级

    @Column(name = "type")
    @ApiModelProperty(value = "type", required = true)
    private String type;//技师类型

    @Column(name = "year")
    @ApiModelProperty(value = "year", required = true)
    private String year;//从业年份

    @Column(name = "picture_address")
    @ApiModelProperty(value = "picture_address", required = true)
    private String pictureAddress;//证件照地址

    @Column(name = "id_picture_address")
    @ApiModelProperty(value = "id_picture_address", required = true)
    private String idPictureAddress;//身份证照地址正面

    @Column(name = "id_picture_address2")
    @ApiModelProperty(value = "id_picture_address2", required = true)
    private String idPictureAddress2;//身份证照地址反面

    @Column(name = "create_time")
    @ApiModelProperty(value = "createTime", required = false)
    private Date createTime;//创建时间

    @Column(name = "last_login_time")
    @ApiModelProperty(value = "lastLoginTime", required = false)
    private Date lastLoginTime;//最后一次登陆时间

    @Column(name = "last_login_address")
    @ApiModelProperty(value = "lastLoginAddress", required = true)
    private String lastLoginAddress;//最后一次登陆地点

    @Column(name = "username")
    @ApiModelProperty(value = "username", required = false)
    private String username;//用户名

    @Column(name = "password")
    @ApiModelProperty(value = "password", required = false)
    private String password;//密码

    @Column(name = "score")
    @ApiModelProperty(value = "score", required = false)
    private Double score;//综合评分

    @Column(name = "wxId")
    @ApiModelProperty(value = "wxId", required = false)
    private String wxId;//微信id

    @Column(name = "integral")
    @ApiModelProperty(value = "integral", required = false)
    private Double integral;//积分

    @Column(name = "satisfaction")
    @ApiModelProperty(value = "satisfaction", required = false)
    private String satisfaction;//技师满意度

    @Column(name = "account_flag")
    @ApiModelProperty(value = "accountFlag", required = false)
    private Integer accountFlag;//账号状态

    @Column(name = "del_flag")
    @ApiModelProperty(value = "delFlag", required = true)
    private Integer delFlag;//删除标志

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getLastLoginAddress() {
        return lastLoginAddress;
    }

    public void setLastLoginAddress(String lastLoginAddress) {
        this.lastLoginAddress = lastLoginAddress;
    }

    public Double getIntegral() {
        return integral;
    }

    public void setIntegral(Double integral) {
        this.integral = integral;
    }

    public String getSatisfaction() {
        return satisfaction;
    }

    public void setSatisfaction(String satisfaction) {
        this.satisfaction = satisfaction;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getProvence() {
        return provence;
    }

    public void setProvence(String provence) {
        this.provence = provence;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }



    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public String getWxId() {
        return wxId;
    }

    public void setWxId(String wxId) {
        this.wxId = wxId;
    }

    public String getPictureAddress() {
        return pictureAddress;
    }

    public void setPictureAddress(String pictureAddress) {
        this.pictureAddress = pictureAddress;
    }

    public String getIdPictureAddress() {
        return idPictureAddress;
    }

    public void setIdPictureAddress(String idPictureAddress) {
        this.idPictureAddress = idPictureAddress;
    }

    public String getIdPictureAddress2() {
        return idPictureAddress2;
    }

    public void setIdPictureAddress2(String idPictureAddress2) {
        this.idPictureAddress2 = idPictureAddress2;
    }

    public String getImageurl() {
        return imageurl;
    }

    public void setImageurl(String imageurl) {
        this.imageurl = imageurl;
    }

    public Double getSumMoney() {
        return sumMoney;
    }

    public void setSumMoney(Double sumMoney) {
        this.sumMoney = sumMoney;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public Integer getAccountFlag() {
        return accountFlag;
    }

    public void setAccountFlag(Integer accountFlag) {
        this.accountFlag = accountFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }



}
